package com.bgs.controller;

import com.bgs.pojo.Schedule;
import com.bgs.service.WebSservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("web")

public class webController {
    @Autowired
    private WebSservice sservice;
    @RequestMapping("tianjia")
    private Boolean tianjia(Schedule schedule){
        return sservice.tianjia(schedule);
    }

}
